]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/app: Warn instead of crashing if disposed before startup notification
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 29 Aug 2024 07:19:14 +0000 (15:19 +0800)
committerdgit client-side .dsc importer <dgit@packages.debian.invalid>
Fri, 26 Dec 2025 01:49:01 +0000 (20:49 -0500)
commitd6438ff9c35bf4c34bda33b5149c685e2a5a1be2
tree6f4b38e14aad75fdc3ad79c37f12e6196abf867a
parenta1703b2d8747d94655398c6f77c36d41b518aa2e
shell/app: Warn instead of crashing if disposed before startup notification

This is currently easy to reproduce by launching and immediately closing
Chrome, then closing the shell. But automated crash reports show it can
also happen while using the shell, during a garbage collection run.

It's currently the top gnome-shell crasher in Ubuntu, and mostly with
Chromium/Electron apps. But regardless of the offender, we shouldn't
ever trust application behaviour to keep the shell alive.

Bug: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7045
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2037055
Forwarded: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3457

Gbp-Pq: Name shell-app-Warn-instead-of-crashing-if-disposed-before-sta.patch
src/shell-app.c